package com.example.eurekaserver.dao.entity;

public class Hero {
    private String nae;
    private int age;
    static String copyRight;
    public String getNae() {
        return nae;
    }
    static{
        System.out.println("初始化Right");
        copyRight="初始化的值。。。。。";
    }

    public void setNae(String nae) {
        this.nae = nae;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }
}
